package org.afs.gescol.core.dao.interfaces;

import java.util.List;

import org.afs.gescol.core.model.references.TranchePayment;

/**
 * Dao interface for school Tranche Payment management.
 * @autor Kobla GBENYO (kobla.gbenyo@gmail.com)
 */
public interface TranchePaymentDao {

    /**
     * Get TranchePayment model by its id.
     * @param id the id of the TranchePayment to get
     * @return the TranchePayment to get
     */
    TranchePayment getTranchePaymentById(Long id);

    /**
     * Get a list of TranchePayment models by their label.
     * @param label the label of the TranchePayment to get
     * @return the list of TranchePayment models those label matches with the providing label
     */
    List<TranchePayment> getTranchePaymentsByLabel(String label);

}
